<?php
define('DOMAIN'								, 'vfriend.vn');
define('DOMAIN_NAME'						, 'Vfriend');
define('DOMAIN_WEB'							, 'Vfriend.info');
if(DOMAIN == 'phungtk.com.vn') {
	define('HOST_VFRIEND'					, 'http://' . DOMAIN . '/vfriend/index.php/');
	define('HOST_BACKEND'					, 'http://' . DOMAIN . '/admin.vfriend/index.php/');
	define('HOST_STATICS'					, 'http://' . DOMAIN . '/vfriend/statics/');
	define('HOST_IMG'						, 'http://' . DOMAIN . '/img.vfriend/');
	define('HOST_BLOG'						, HOST_VFRIEND . 'nhat-ky/');
	
} else {
	define('HOST_VFRIEND'					, 'http://' . DOMAIN . '/');
	define('HOST_BACKEND'					, 'http://admin.' . DOMAIN . '/');
	define('HOST_STATICS'					, 'http://' . DOMAIN . '/statics/');
	define('HOST_IMG'						, 'http://img.' . DOMAIN . '/');
	define('HOST_BLOG'						, HOST_VFRIEND . 'nhat-ky/');	
}
#---------- IMG ----------- #
define('HOST_IMG_AVATAR_FULL'			, HOST_IMG . 'avatar/full/');
define('HOST_IMG_AVATAR_THUMB'			, HOST_IMG . 'avatar/thumb/');
define('HOST_IMG_AVATAR_SMALL'			, HOST_IMG . 'avatar/small/');
define('HOST_IMG_ALBUM_FULL'			, HOST_IMG . 'album/full/');
define('HOST_IMG_ALBUM_THUMB'			, HOST_IMG . 'album/thumb/');
define('HOST_IMG_BLOG_FULL'				, HOST_IMG . 'blog/full/');
define('HOST_IMG_BLOG_THUMB'			, HOST_IMG . 'blog/thumb/');
define('HOST_IMG_BLOG_SMALL'			, HOST_IMG . 'blog/small/');
define('HOST_IMG_DEFAULT'				, HOST_IMG . 'default/');
define('HOST_IMG_PRODUCT'				, HOST_IMG . 'product/');
define('HOST_IMG_NEWS_FULL'				, HOST_IMG . 'news/full/');
define('HOST_IMG_NEWS_THUMB'			, HOST_IMG . 'news/thumb/');
define('HOST_IMG_NEWS_SMALL'			, HOST_IMG . 'news/small/');
define('HOST_IMG_COVER_FULL'			, HOST_IMG . 'cover/full/');
define('HOST_IMG_COVER_THUMB'			, HOST_IMG . 'cover/thumb/');
define('HOST_IMG_COVER_SMALL'			, HOST_IMG . 'cover/small/');
define('HOST_IMG_PLACE_FULL'			, HOST_IMG . 'places/full/');
define('HOST_IMG_PLACE_THUMB'			, HOST_IMG . 'places/thumb/');
define('HOST_IMG_PLACE_SMALL'			, HOST_IMG . 'places/small/');
#---------- MONGODB ------- #
define('DB_MONGO_VFRIEND'					, 'vfriend');
define('DB_MONGO_ENABLE'					, 1);
#---------- UPLOAD --------#
define('DIR_DEFAULT'						, ROOT_DIR . '/data/upload/default/');
define('DIR_AVATAR_FULL'					, ROOT_DIR . '/data/upload/avatar/full/');
define('DIR_AVATAR_THUMB'					, ROOT_DIR . '/data/upload/avatar/thumb/');
define('DIR_AVATAR_SMALL'					, ROOT_DIR . '/data/upload/avatar/small/');
define('DIR_ALBUM_FULL'						, ROOT_DIR . '/data/upload/album/full/');
define('DIR_ALBUM_THUMB'					, ROOT_DIR . '/data/upload/album/thumb/');
define('DIR_BLOG_FULL'						, ROOT_DIR . '/data/upload/blog/full/');
define('DIR_BLOG_THUMB'						, ROOT_DIR . '/data/upload/blog/thumb/');
define('DIR_BLOG_SMALL'						, ROOT_DIR . '/data/upload/blog/small/');
define('DIR_THEME'							, ROOT_DIR . '/data/upload/theme/');
define('DIR_PRODUCT'						, ROOT_DIR . '/data/upload/product/');
define('DIR_NEWS_FULL'						, ROOT_DIR . '/data/upload/news/full/');
define('DIR_NEWS_THUMB'						, ROOT_DIR . '/data/upload/news/thumb/');
define('DIR_NEWS_SMALL'						, ROOT_DIR . '/data/upload/news/small/');
define('DIR_COVER_FULL'						, ROOT_DIR . '/data/upload/cover/full/');
define('DIR_COVER_THUMB'					, ROOT_DIR . '/data/upload/cover/thumb/');
define('DIR_COVER_SMALL'					, ROOT_DIR . '/data/upload/cover/small/');
define('DIR_PLACE_FULL'						, ROOT_DIR . '/data/upload/places/full/');
define('DIR_PLACE_THUMB'					, ROOT_DIR . '/data/upload/places/thumb/');
define('DIR_PLACE_SMALL'					, ROOT_DIR . '/data/upload/places/small/');
?>
